package com.erb.mapper;

import com.erb.entity.Thirdparty;
import com.erb.entity.User;
import org.apache.ibatis.annotations.Param;

public interface setUserMapper {

	User SearchUserById(Integer id);

	Thirdparty selthi(int uid);

	User selphone(@Param("id") int id, @Param("phone") String phone);

	Integer updphone(@Param("id") int id, @Param("phone") String phone);

	User selemail(@Param("id") int id, @Param("email") String email);

	Integer updemail(@Param("id") int id, @Param("email") String email);

	User selpwd(@Param("id") int id, @Param("password") String password);

	Integer updpwd(@Param("id") int id, @Param("xmm") String xmm);

	Thirdparty selthir(@Param("uid") int uid, @Param("pwd") int pwd);

	Integer updthi(@Param("uid") int uid, @Param("pwd") int pwd);
}
